﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReportOfSeason.aspx.cs"
	MasterPageFile="~/Master/MasterPage.master" Inherits="HZ.Supervise.Web.Secondphase.ReportOfSeason" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="../Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
	<div id="tabcontent2">
		<table class="querylist">
			<tr>
				<td align="right">
					年份：
				</td>
				<td align="left">
					<asp:DropDownList ID="ddlYear" runat="server">
						<asp:ListItem Text="2007" Value="0"></asp:ListItem>
						<asp:ListItem Text="2008" Value="0"></asp:ListItem>
						<asp:ListItem Text="2009" Value="0"></asp:ListItem>
						<asp:ListItem Text="2010" Value="0"></asp:ListItem>
						<asp:ListItem Text="2011" Value="0"></asp:ListItem>
						<asp:ListItem Text="2012" Value="0"></asp:ListItem>
						<asp:ListItem Text="2013" Value="0"></asp:ListItem>
						<asp:ListItem Text="2014" Value="0"></asp:ListItem>
						<asp:ListItem Text="2015" Value="0"></asp:ListItem>
						<asp:ListItem Text="2016" Value="0"></asp:ListItem>
						<asp:ListItem Text="2017" Value="0"></asp:ListItem>
					</asp:DropDownList>
				</td>
				<td align="right">
					季度：
				</td>
				<td align="left">
					<asp:DropDownList ID="ddlSeason" runat="server">
						<asp:ListItem Text="第一季度" Value="1"></asp:ListItem>
						<asp:ListItem Text="第二季度" Value="2"></asp:ListItem>
						<asp:ListItem Text="第三季度" Value="3"></asp:ListItem>
						<asp:ListItem Text="第四季度" Value="4"></asp:ListItem>
					</asp:DropDownList>
				</td>
				<td align="right">
					排名方式：
				</td>
				<td align="left">
					<asp:DropDownList ID="ddlorderby" runat="server">
						<asp:ListItem Text="配送总数量" Value="0"></asp:ListItem>
						<asp:ListItem Text="配送总金额" Value="0"></asp:ListItem>
						<asp:ListItem Text="基药采购总数量" Value="0"></asp:ListItem>
						<asp:ListItem Text="基药采购总金额" Value="0"></asp:ListItem>
						<asp:ListItem Text="非基药采购总数量" Value="0"></asp:ListItem>
						<asp:ListItem Text="非基药采购总金额" Value="0"></asp:ListItem>
					</asp:DropDownList>
				</td>
				<td width="100px">
					<asp:Button ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" CssClass="searchbtn"
						SkinID="search" ToolTip="点击查询符合条件的数据" />
				</td>
			</tr>
		</table>
	</div>
	<asp:GridView ID="gvwProcureCatalog" runat="server" CssClass="mainlist" AutoGenerateColumns="False"
		OnRowCreated="gvwProcureCatalog_RowCreated" CellPadding="1" CellSpacing="3">
		<Columns>
			<asp:BoundField DataField="hospital" HeaderText="名称" ReadOnly="true" />
			<asp:BoundField DataField="PurchaseNumerbTotalc_jb" HeaderText="基药总金额" ReadOnly="True" />
			<asp:BoundField DataField="PurchaseNumerbTotalc_fjb" HeaderText="非基药总金额" />
			<asp:ButtonField CommandName="Medicine" DataTextField="PurchaseAmountTotal_jb" HeaderText="基药总金额" />
			<asp:ButtonField CommandName="Hospital" DataTextField="PurchaseAmountTotal_fjb" HeaderText="非基药总金额" />
			<asp:BoundField DataField="PurchaseNumerbTotalc_jb1" HeaderText="基药总金额" ReadOnly="True" />
			<asp:BoundField DataField="PurchaseNumerbTotalc_fjb1" HeaderText="非基药总金额" />
			<%--<asp:BoundField DataField="PurchaseAmountTotal_jb2" HeaderText="基药总金额"  />
            <asp:BoundField DataField="PurchaseAmountTotal_fjb2" HeaderText="非基药总金额"  />--%>
			<asp:TemplateField HeaderText="操作">
				<ItemTemplate>
					<asp:LinkButton ID="lbtnAduit" runat="server" CommandName="Aduit">查看</asp:LinkButton>
				</ItemTemplate>
			</asp:TemplateField>
			<asp:TemplateField HeaderText="图表">
				<ItemTemplate>
					<asp:LinkButton ID="lbtnAduit2" runat="server" CommandName="Aduit">图表</asp:LinkButton>
				</ItemTemplate>
			</asp:TemplateField>
		</Columns>
	</asp:GridView>
	<div>
		<webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
		</webdiyer:AspNetPager>
	</div>
	<hz:HzButton ID="btnExcel" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />&nbsp;统计：<asp:Label
		ID="lblCount" runat="server"></asp:Label>
	<div class="listip">
		<ul>
			<asp:LinkButton ID="lbtnSee" runat="server" OnClick="lbtnSee_Click" Font-Size="Small"
				Visible="false">显示图表</asp:LinkButton>
			<uc2:ChartControl ID="ChartControl1" runat="server" Visible="False" />
			<li>说明:<span>可以点击相应按钮进入查看详细信息</span> </li>
		</ul>
	</div>
</asp:Content>
